
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont el-icon-third-zhuce"></i>
                    <div class="name">注册</div>
                    <div class="fontclass">.el-icon-third-zhuce</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-zhuye01"></i>
                    <div class="name">店铺主页</div>
                    <div class="fontclass">.el-icon-third-zhuye01</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-yingxiaogongju"></i>
                    <div class="name">营销工具</div>
                    <div class="fontclass">.el-icon-third-yingxiaogongju</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-guanli"></i>
                    <div class="name">商品管理</div>
                    <div class="fontclass">.el-icon-third-guanli</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-zichanguanli"></i>
                    <div class="name">资产管理</div>
                    <div class="fontclass">.el-icon-third-zichanguanli</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-icon-oc-wallet"></i>
                    <div class="name">消费额</div>
                    <div class="fontclass">.el-icon-third-icon-oc-wallet</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-iconfontxiaoquxinwen"></i>
                    <div class="name">呼叫</div>
                    <div class="fontclass">.el-icon-third-iconfontxiaoquxinwen</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-shujuzhongxin"></i>
                    <div class="name">数据中心</div>
                    <div class="fontclass">.el-icon-third-shujuzhongxin</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-canzhuo"></i>
                    <div class="name">餐桌</div>
                    <div class="fontclass">.el-icon-third-canzhuo</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-gongnengmokuai"></i>
                    <div class="name">功能模块</div>
                    <div class="fontclass">.el-icon-third-gongnengmokuai</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-fangwenliang"></i>
                    <div class="name">访问量</div>
                    <div class="fontclass">.el-icon-third-fangwenliang</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.el-icon-third-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-zidongjiedan"></i>
                    <div class="name">自动接单</div>
                    <div class="fontclass">.el-icon-third-zidongjiedan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-cdb_money"></i>
                    <div class="name">营业额</div>
                    <div class="fontclass">.el-icon-third-cdb_money</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-youxiang"></i>
                    <div class="name">邮箱</div>
                    <div class="fontclass">.el-icon-third-youxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-dingdan"></i>
                    <div class="name">订单管理</div>
                    <div class="fontclass">.el-icon-third-dingdan</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-xingmingyonghumingnicheng"></i>
                    <div class="name">姓名 用户名 昵称 (1)</div>
                    <div class="fontclass">.el-icon-third-xingmingyonghumingnicheng</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-dayinji"></i>
                    <div class="name">打印机</div>
                    <div class="fontclass">.el-icon-third-dayinji</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-denglu"></i>
                    <div class="name">登陆</div>
                    <div class="fontclass">.el-icon-third-denglu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.el-icon-third-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-dingdanshu"></i>
                    <div class="name">订单数</div>
                    <div class="fontclass">.el-icon-third-dingdanshu</div>
                </li>
            
                <li>
                <i class="icon iconfont el-icon-third-gongzuotai"></i>
                    <div class="name">工作台</div>
                    <div class="fontclass">.el-icon-third-gongzuotai</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">el-icon-third-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
